home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-03 | 1.4 KB | 52 lines | [TEXT/MPS ] |
- //----------------------------------------------------------------------------------------
- // MSkeleton.cp
- // Copyright © 1991-96 by Apple Computer, Inc. All rights reserved.
- //----------------------------------------------------------------------------------------
-
- // Skeleton
-
- #ifndef __UAPPLICATIONSKELETON__
- #include "UApplicationSkeleton.h"
- #endif
-
- #ifndef __UVIEWSKELETON__
- #include "UViewSkeleton.h"
- #endif
-
- // MacApp
-
-
- #ifndef __UMACAPPGLOBALS__
- #include "UMacAppGlobals.h"
- #endif
-
- #ifndef __UPRINTING__
- #include "UPrinting.h"
- #endif
-
- // Generate universal code
- #pragma processor 68000
-
-
- //----------------------------------------------------------------------------------------
- // main:
- //----------------------------------------------------------------------------------------
- #pragma segment Main
-
- void main ()
- {
- InitUMacApp(4); // Initialize MacApp with 4 calls to MoreMasters
- InitUPrinting(); // Initialize the printing gear
-
- InitUViewSkeleton(); // Initialize the application's view unit.
-
- TApplicationSkeleton* aApplicationSkeleton = new TApplicationSkeleton; // Allocate application object
- aApplicationSkeleton->IApplicationSkeleton(); // Initialize the object
- aApplicationSkeleton->Run(); // Well lets run it then!
- } // main
-
- //----------------------------------------------------------------------------------------
- // End of MSkeleton.cp
-
- #pragma segment Inline
-